package com.yl.service.impl;

import com.yl.User;
import com.yl.UserRequest;
import com.yl.UserService;
import org.apache.dubbo.config.annotation.DubboService;

/**
 * @author yangl
 */
@DubboService
public class UserServiceImpl implements UserService {

    @Override
    public User getUser(UserRequest request) {
        return User.newBuilder().setUid("1").setUsername("张三").build();
    }
}
